
import 'package:flutter_enjoy_plus/constants/index.dart';

import '../utils/RequestDio.dart';
// 获取社区公告列表
// Future getAnnounceList() {
//   return requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
// }
Future getAnnounceListApi() => requestDio.get(HTTP_PATH.ANNOUNCE_LIST);

// 获取社区公告详情
Future getAnnounceDetailApi(id) => requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');